import { translate } from '@/utils/i18n'
export const formItems = [
  {
    filed: 'type',
    type: 'select',
    label: translate('logType'),
    clearable: true,
    options: [
      { value: '0', label: translate('logHandle') },
      { value: '1', label: translate('commonLog') }
    ]
  },
  {
    filed: 'isSensitive',
    type: 'select',
    label: translate('czlx'),
    clearable: true,
    options: [
      { value: '1', label: translate('minganHandle') },
      { value: '0', label: translate('commonHandle') }
    ]
  },
  {
    filed: 'userPhone',
    type: 'input',
    label: translate('phone')
  },
  {
    filed: 'userAdmin',
    type: 'input',
    label: translate('zh')
  },
  {
    filed: 'userName',
    type: 'input',
    label: translate('name')
  },
  {
    filed: 'makeType',
    type: 'input',
    label: translate('handleDesc')
  },
  {
    filed: 'time',
    type: 'daterange',
    label: translate('dateScope')
  }
]
export const queryFormConfig = {
  formItems,
  online: true
}
